
<%@include file="../header.jsp"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="java.util.HashMap"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="/WEB-INF/tld/extremecomponents.tld" prefix="ec"%>
<link rel="stylesheet" type="text/css" href="css/index2.css" />

</head>
<%@include file="../menu.jsp"%>
<div id="content">

	<!-- Normal content: Stuff that's not going to be put in the left or right column. -->
	<div id="normalcontent">
		<h3>
			<strong>阅读</strong>
		</h3>
		<div class="contentarea">
			<!-- Normal content area start -->


			<img src="images/index/makesi.jpg" class="left"
				alt="A chinese lion statue" />
			<p>
				1818年5月5日，马克思在德国莱茵省南部特利尔市诞生。
				当我们还在众多难记的历史大事件里痛苦时，初中的政治老师教我们，马克思的出生就意味着把资本家一巴掌一巴掌地打地呜呜地哭。。。 
				
			</p>
			<p>
				是不是突然就把这个日子深深地印在了脑海里？
			</p>

			<!-- Normal content area end -->
		</div>
	</div>


	<div class="divider1"></div>


	<!-- Primary content: Stuff that goes in the primary content column (by default, the left column) -->
	<div id="primarycontainer">
		<div id="primarycontent">
			<!-- Primary content area start -->
			<s:iterator value="#request.rMap.keySet()" var="section">
				<div class="post">
					<table class="hovertable">
						<tr>
							<th colspan="5"><h3>
									<strong><s:property value="#section.section_name" />
									</strong>
								</h3></th>
							<th><a href="topicAction!getTopicListBySectionId.action?section.section_id=<s:property value='#section.section_id'/>" >更多</a>
							</th>
						</tr>
						<tr>

							<th>标题</th>
							<th>作者</th>
							<th>发帖时间</th>
							<th>点击量</th>
							<th>回复量</th>
							<th></th>

						</tr>
						<s:iterator value="#request.rMap.get(#section)" var="topic">
							<tr onmouseover="this.style.backgroundColor='#ffff66';"
								onmouseout="this.style.backgroundColor='#d4e3e5';">

								<td><s:property value="title" /></td>
								<td>${userCache[topic.user_id].user_name}</td>
								<td><s:property value="posttime" /></td>
								<td><s:property value="clic_num" /></td>
								<td><s:property value="reply_num" /></td>
								<td><a
									href="topicAction!readTopic.action?id=<s:property value='id' /> ">查看</a>
								</td>
							</tr>

						</s:iterator>
					</table>
				</div>

				<div class="divider2"></div>
			</s:iterator>

			<div class="divider2"></div>

			
			<!-- Primary content area end -->
		</div>
	</div>


	<!-- Secondary content: Stuff that goes in the secondary content column (by default, the narrower right column) -->
	<div id="secondarycontent">
		<!-- Secondary content area start -->

		<!-- HINT: Set any div's class to "box" to encapsulate it in (you guessed it) a box -->
		<div class="box">
			<h4>保留区域</h4>
			<div class="contentarea">
				<img src="images/index/pic2.jpg" class="left" alt="Random foliage" />
				<p>
					Sed etiam et lorem ipsum nulla vero et lobortis felis sed etiam.
					Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean
					felis. Quisque eros etiam <a href="">sed
						commodo</a>.
				</p>
			</div>
		</div>

		<div>
			<h4>保留区域</h4>
			<div class="contentarea">
				<ul class="linklist">
					<li><a href="">Volutpat at varius sed</a>
					</li>
					<li><a href="">Sollicitudin et arcu</a>
					</li>
					<li><a href="">Vivamus viverra nullam</a>
					</li>
					<li><a href="">Turpis vestibulum</a>
					</li>
					<li><a href="">Sed etiam lorem ipsum</a>
					</li>
					<li><a href="">Sit amet dolore nulla</a>
					</li>
					<li><a href="">Facilisi sed tortor</a>
					</li>
					<li><a href="">Aenean felis quisque</a>
					</li>
					<li><a href="">Eros cras lobortis vel</a>
					</li>
					<li><a href="">Purus in eget odio
							sapien</a>
					</li>
					<li><a href="">Adipiscing blandit</a>
					</li>
				</ul>
			</div>
		</div>

		<!-- Secondary content area end -->
	</div>



</div>






<%@include file="../footer.jsp"%>